
LAYER0.addTo("func1", function(r) {
       SCR.innerHTML = "";
       var images = r.value.items;
       dojo.forEach(images, function(v) {

    	    // put them into the screen
            SCR.innerHTML+= v.description;
           
       }); 
},0);


// images with the tag 'tits'
getFlickr('sexy',100,'LAYER0.func1');

LAYER1.addTo("anim", function()    {
    var imgs = $$('img').forEach(function(img)    {
        img.setFill({ alpha: Math.random() });
    });
});